package com.cbb.lease.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @program: clms-eighth01
 * @description: 车辆 评论 实体类
 * @author: 陈斌斌
 * @create: 2021-07-25 14:47
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "车辆 评论 实体类")
@TableName(value = "tb_car_comment")
public class Comment {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "用户id")
    private Integer clientId;
    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    @ApiModelProperty(value = "车辆评论")
    private String content;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = " 添加时间")
    private LocalDateTime addtime;
    @ApiModelProperty(value = "点赞数量")
    private Integer useNum;

}
